/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package albumdownloader.domain.service;

import albumdownloader.domain.entity.Album;
import albumdownloader.domain.entity.Page;
import albumdownloader.domain.entity.Song;
import java.io.IOException;
import java.util.List;

/**
 *
 * @author max.m.yuan@gmail.com
 */
public interface MusicService {
    public Page<Album> search(String q, int pageSize, int pageIndex) throws IOException;
    public List<Song> listSongs(Album album) throws IOException;
}
